@import "@/common/constants/StyleConst.scss";

.jobsItemAttachment-container :deep {
    .container {
        padding: 0 10px;

        .v-subheader {
            height: auto;
            padding: 0px 0 6px 0;
        }

        .row {
            margin-top: 0;
            font-size: 10px;
            gap: 8px;

            .detailed-attachment-wrap {
                background-color: $color-theme-lightgrey;
                word-break: break-all;
                width: calc(33.3333% - 8px);
                height: 64px;
                flex: unset;

                .attachment {
                    height: inherit;

                    .img-detail {
                        height: inherit;
                        overflow-y: overlay;
                        padding-right: 8px;
                    }
                }

            }

            .img-wrap {
                position: relative;
                flex: unset;
                overflow: hidden;
                height: 64px;
                width: 64px;

                .img-decorate {
                    position: absolute;
                    top: 0;
                    transform: rotate(45deg) translateX(-90%);
                    width: 40px;
                    height: 40px;
                    z-index: 4;

                    &.img-decorate-orange {
                        background-color: #EB9B31;
                    }

                    &.img-decorate-blue {
                        background-color: $color-theme-navy;
                    }
                }

                .img-introduction {
                    width: 100%;
                    height: 20.9px;
                    background-color: #556282;
                    position: absolute;
                    bottom: 0;
                    font-size: 8px;
                    color: #fff;

                    svg {
                        width: 100%;
                        height: 100%;
                        fill: currentColor;

                        text {
                            font-size: 8px;
                        }
                    }
                }
            }
        }
    }
}